package com.bailan.service.impl;

import com.bailan.pojo.Admin;
import com.bailan.mapper.AdminMapper;
import com.bailan.pojo.DAO.PeopleManagerDAO;
import com.bailan.service.IAdminService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author BaiLan
 * @since 2022:05:24
 */
@Service
public class AdminServiceImpl extends ServiceImpl<AdminMapper, Admin> implements IAdminService {


    @Override
    public List<PeopleManagerDAO> getStudent() {
       return baseMapper.getStudent();
    }

    @Override
    public List<PeopleManagerDAO> getTeacher() {
        return baseMapper.getTeacher();
    }
}
